package com.group.library.order.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;


/**
 * Author: Lai
 * Email：aYong1324@163.com
 * Time：2022年5月16日23:29:36
 * Description：跟建议相关
 * 具体有：用户提交建议，后台管理员显示建议，删除建议(单删/批量删除)
 */

public class Advice {

    private int adviceId;

    private String message;
//    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date time;

    private String userId;

    private String userName;

    private String userNumber;

    public int getAdviceId() {
        return adviceId;
    }

    public void setAdviceId(int adviceId) {
        this.adviceId = adviceId;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserNumber() {
        return userNumber;
    }

    public void setUserNumber(String userNumber) {
        this.userNumber = userNumber;
    }

    @Override
    public String toString() {
        return "Advice{" +
                "  adviceId=" + adviceId +
                ", message='" + message + '\'' +
                ", time=" + time +
                ", userId='" + userId + '\'' +
                ", userName='" + userName + '\'' +
                ", userNumber='" + userNumber + '\'' +
                '}';
    }
}
